imageware
Class FloatProcess

java.lang.Object
  extended by imageware.FloatBuffer
      extended by imageware.FloatAccess
          extended by imageware.FloatPointwise
              extended by imageware.FloatProcess
All Implemented Interfaces:
Access, Buffer, Pointwise, Process
Direct Known Subclasses:
FloatSet

public class FloatProcess
extends FloatPointwise
implements Process

Class FloatProcess.


Field Summary
 
Fields inherited from class imageware.FloatBuffer
data, nx, nxy, ny, nz
 
Constructor Summary
protected FloatProcess(byte[][][] array, int mode)
           
protected FloatProcess(byte[][] array, int mode)
           
protected FloatProcess(byte[] array, int mode)
           
protected FloatProcess(double[][][] array, int mode)
           
protected FloatProcess(double[][] array, int mode)
           
protected FloatProcess(double[] array, int mode)
           
protected FloatProcess(float[][][] array, int mode)
           
protected FloatProcess(float[][] array, int mode)
           
protected FloatProcess(float[] array, int mode)
           
protected FloatProcess(java.awt.Image image, int mode)
           
protected FloatProcess(ij.ImageStack stack, byte chan)
           
protected FloatProcess(ij.ImageStack stack, int mode)
           
protected FloatProcess(int nx, int ny, int nz)
           
protected FloatProcess(short[][][] array, int mode)
           
protected FloatProcess(short[][] array, int mode)
           
protected FloatProcess(short[] array, int mode)
           
 
Method Summary
 void add(ImageWare imageware)
          Add a imageware to the current imageware.
 void divide(ImageWare imageware)
          Divide a imageware to the current imageware.
 void max(ImageWare imageware)
          Get the maximum of this imageware and a imageware.
 void min(ImageWare imageware)
          Get the minimum of this imageware and a imageware.
 void multiply(ImageWare imageware)
          Multiply a imageware to the current imageware.
 void smoothGaussian(double sigma)
          Apply a separable gaussian smoothing over the image with the same strengthness in all directions.
 void smoothGaussian(double sigmaX, double sigmaY, double sigmaZ)
          Apply a separablegaussian smoothing over the image with an independant strengthness in the different directions.
 void subtract(ImageWare imageware)
          Subtract a imageware to the current imageware.
 
Methods inherited from class imageware.FloatPointwise
abs, add, addGaussianNoise, addSaltPepper, addUniformNoise, buildImageStack, clip, clip, divide, exp, fillConstant, fillGaussianNoise, fillRamp, fillSaltPepper, fillUniformNoise, invert, log, multiply, negate, pow, rescale, rescale, rescaleCenter, sqr, sqrt, subtract, threshold, threshold, thresholdHard, thresholdSoft
 
Methods inherited from class imageware.FloatAccess
getBlockX, getBlockX, getBlockX, getBlockX, getBlockXY, getBlockXY, getBlockXY, getBlockXY, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockY, getBlockY, getBlockY, getBlockY, getBlockYZ, getBlockYZ, getBlockYZ, getBlockYZ, getBlockZ, getBlockZ, getBlockZ, getBlockZ, getBoundedX, getBoundedX, getBoundedX, getBoundedX, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedY, getBoundedY, getBoundedY, getBoundedY, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedZ, getBoundedZ, getBoundedZ, getBoundedZ, getInterpolatedPixel, getInterpolatedPixel, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getPixel, getPixel, putBoundedX, putBoundedX, putBoundedX, putBoundedX, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedY, putBoundedY, putBoundedY, putBoundedY, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedZ, putBoundedZ, putBoundedZ, putBoundedZ, putPixel
 
Methods inherited from class imageware.FloatBuffer
getDepth, getDimension, getHeight, getSize, getSizeX, getSizeY, getSizeZ, getSliceByte, getSliceDouble, getSliceFloat, getSliceShort, getTotalSize, getType, getTypeToString, getVolume, getWidth, getX, getX, getX, getX, getX, getXY, getXY, getXY, getXY, getXY, getXYZ, getXYZ, getXYZ, getXYZ, getXYZ, getXZ, getXZ, getXZ, getXZ, getXZ, getY, getY, getY, getY, getY, getYZ, getYZ, getYZ, getYZ, getYZ, getZ, getZ, getZ, getZ, getZ, isSameSize, putX, putX, putX, putX, putX, putXY, putXY, putXY, putXY, putXY, putXYZ, putXYZ, putXYZ, putXYZ, putXYZ, putXZ, putXZ, putXZ, putXZ, putXZ, putY, putY, putY, putY, putY, putYZ, putYZ, putYZ, putYZ, putYZ, putZ, putZ, putZ, putZ, putZ, throw_constructor, throw_constructor, throw_get, throw_put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface imageware.Pointwise
abs, add, addGaussianNoise, addSaltPepper, addUniformNoise, buildImageStack, clip, clip, divide, exp, fillConstant, fillGaussianNoise, fillRamp, fillSaltPepper, fillUniformNoise, invert, log, multiply, negate, pow, rescale, rescale, rescaleCenter, sqr, sqrt, subtract, threshold, threshold, thresholdHard, thresholdSoft
 
Methods inherited from interface imageware.Access
getBlockX, getBlockX, getBlockX, getBlockX, getBlockXY, getBlockXY, getBlockXY, getBlockXY, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockY, getBlockY, getBlockY, getBlockY, getBlockYZ, getBlockYZ, getBlockYZ, getBlockYZ, getBlockZ, getBlockZ, getBlockZ, getBlockZ, getBoundedX, getBoundedX, getBoundedX, getBoundedX, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedY, getBoundedY, getBoundedY, getBoundedY, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedZ, getBoundedZ, getBoundedZ, getBoundedZ, getInterpolatedPixel, getInterpolatedPixel, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getPixel, getPixel, putBoundedX, putBoundedX, putBoundedX, putBoundedX, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedY, putBoundedY, putBoundedY, putBoundedY, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedZ, putBoundedZ, putBoundedZ, putBoundedZ, putPixel
 
Methods inherited from interface imageware.Buffer
getDepth, getDimension, getHeight, getSize, getSizeX, getSizeY, getSizeZ, getSliceByte, getSliceDouble, getSliceFloat, getSliceShort, getTotalSize, getType, getTypeToString, getVolume, getWidth, getX, getX, getX, getX, getX, getXY, getXY, getXY, getXY, getXY, getXYZ, getXYZ, getXYZ, getXYZ, getXYZ, getXZ, getXZ, getXZ, getXZ, getXZ, getY, getY, getY, getY, getY, getYZ, getYZ, getYZ, getYZ, getYZ, getZ, getZ, getZ, getZ, getZ, isSameSize, putX, putX, putX, putX, putX, putXY, putXY, putXY, putXY, putXY, putXYZ, putXYZ, putXYZ, putXYZ, putXYZ, putXZ, putXZ, putXZ, putXZ, putXZ, putY, putY, putY, putY, putY, putYZ, putYZ, putYZ, putYZ, putYZ, putZ, putZ, putZ, putZ, putZ
 

Constructor Detail

FloatProcess

protected FloatProcess(int nx,
                       int ny,
                       int nz)

FloatProcess

protected FloatProcess(java.awt.Image image,
                       int mode)

FloatProcess

protected FloatProcess(ij.ImageStack stack,
                       int mode)

FloatProcess

protected FloatProcess(ij.ImageStack stack,
                       byte chan)

FloatProcess

protected FloatProcess(byte[] array,
                       int mode)

FloatProcess

protected FloatProcess(byte[][] array,
                       int mode)

FloatProcess

protected FloatProcess(byte[][][] array,
                       int mode)

FloatProcess

protected FloatProcess(short[] array,
                       int mode)

FloatProcess

protected FloatProcess(short[][] array,
                       int mode)

FloatProcess

protected FloatProcess(short[][][] array,
                       int mode)

FloatProcess

protected FloatProcess(float[] array,
                       int mode)

FloatProcess

protected FloatProcess(float[][] array,
                       int mode)

FloatProcess

protected FloatProcess(float[][][] array,
                       int mode)

FloatProcess

protected FloatProcess(double[] array,
                       int mode)

FloatProcess

protected FloatProcess(double[][] array,
                       int mode)

FloatProcess

protected FloatProcess(double[][][] array,
                       int mode)
Method Detail

smoothGaussian

public void smoothGaussian(double sigma)
Apply a separable gaussian smoothing over the image with the same strengthness in all directions. To have a smmothing effect the strengthness should be strictly greater than 0 and the size in the considered directions should be greater strictly than 1.

Specified by:
smoothGaussian in interface Process
Parameters:
sigma - Strengthness of the smoothing

smoothGaussian

public void smoothGaussian(double sigmaX,
                           double sigmaY,
                           double sigmaZ)
Apply a separablegaussian smoothing over the image with an independant strengthness in the different directions. To have a smmothing effect the strengthness should be strictly greater than 0 and the size in the considered directions should be greater strictly than 1.

Specified by:
smoothGaussian in interface Process
Parameters:
sigmaX - Strengthness of the smoothing in X axis
sigmaY - Strengthness of the smoothing in X axis
sigmaZ - Strengthness of the smoothing in X axis

max

public void max(ImageWare imageware)
Get the maximum of this imageware and a imageware.

Specified by:
max in interface Process
Parameters:
imageware - imageware to max

min

public void min(ImageWare imageware)
Get the minimum of this imageware and a imageware.

Specified by:
min in interface Process
Parameters:
imageware - imageware to min

add

public void add(ImageWare imageware)
Add a imageware to the current imageware.

Specified by:
add in interface Process
Parameters:
imageware - imageware to add

multiply

public void multiply(ImageWare imageware)
Multiply a imageware to the current imageware.

Specified by:
multiply in interface Process
Parameters:
imageware - imageware to multiply

subtract

public void subtract(ImageWare imageware)
Subtract a imageware to the current imageware.

Specified by:
subtract in interface Process
Parameters:
imageware - imageware to subtract

divide

public void divide(ImageWare imageware)
Divide a imageware to the current imageware.

Specified by:
divide in interface Process
Parameters:
imageware - imageware to divide